#!/bin/bash

VERSION=$1

docker image build -t oldboyedu-linux84-web:v0.${VERSION:-2} ..
docker image ls oldboyedu-linux84-web
docker container run -d -p 808${VERSION:-2}:8080 oldboyedu-linux84-web:v0.${VERSION:-2}
docker container ps -l
